CVE-2025-15079
libssh global known_hosts override
Description
When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global* known_hosts file.
INFO
Published Date :
Jan. 8, 2026, 10:15 a.m.
Last Modified :
Jan. 8, 2026, 6:08 p.m.
Remotely Exploit :
Yes !
Source :
2499f714-1537-4658-8207-48ae4bb9eae9
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Configure libcurl to exclusively use the specified known_hosts file.
- Remove unauthorized hosts from the global known_hosts file.
- Review and audit SSH host key configurations regularly.
- Implement strict SSH host key checking.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-15079.
| URL | Resource |
|---|---|
| https://curl.se/docs/CVE-2025-15079.html | |
| https://curl.se/docs/CVE-2025-15079.json | |
| https://hackerone.com/reports/3477116 | |
| http://www.openwall.com/lists/oss-security/2026/01/07/6 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-15079 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-15079
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-15079 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-15079 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jan. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N Added CWE CWE-297 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jan. 08, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/01/07/6 -
New CVE Received by 2499f714-1537-4658-8207-48ae4bb9eae9
Jan. 08, 2026
Action Type Old Value New Value Added Description When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global* known_hosts file. Added Reference https://curl.se/docs/CVE-2025-15079.html Added Reference https://curl.se/docs/CVE-2025-15079.json Added Reference https://hackerone.com/reports/3477116